package com.rayc.mall.common.exception;

import com.rayc.mall.common.enums.ResponseCode;

/**
 * @Author: Ray-C
 * @CreateTime: 2025-03-23
 * @Description: 非法业务操作异常
 * @Version: 1.0
 */
public class BizIllegalException extends BusinessException {

    public BizIllegalException(String message) {
        super(message, ResponseCode.REJECTED.getCode());
    }

    public BizIllegalException(String message, Throwable cause) {
        super(message, cause, ResponseCode.REJECTED.getCode());
    }

    public BizIllegalException(Throwable cause) {
        super(cause, ResponseCode.REJECTED.getCode());
    }
}
